﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Class3
    {
        public string pressname;
        public string publisher;
        public string address;

        public string Pressname
        {
            get
            { return this.pressname; }
            set { this.pressname = value; }
        }
        public string Publisher
        {
            get { return this.publisher; }
            set { this.publisher = value; }
        }
        public string Address
        {
            get { return this.address; }
            set { this.address = value; }
        }

        public void Dd()
        { Console.WriteLine("书名:{0} 作者:{1} 地址:{2} ", this.pressname, this.publisher, this.address); }

    }
}
